<%@page import="com.fractalist.man.constants.ManConstants"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/includes.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>权限分配</title>
<link rel="stylesheet" href="${ctx }/css/styles.css" type="text/css" />
<script type="text/javascript" src="${ctx }/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="${ctx }/js/jquery.form.js"></script>
<jsp:include page="/common/jscalendar.jsp"></jsp:include>
<style>
.tc a {
	color: red;
}
</style>
<script type="text/javascript">
	function dispatch(groupId) {
		location.href = "${ctx}/isstSet/phpRightDispatch.action?groupId="+groupId+"&rd="+ Math.random();
	}

</script>
</head>
<body>
	<div id="wrapper">
		<div id="content_wrap">
			<div class="tabs_content">
				<div class="active_tab" id="tab1">
					<div id="table_wrapper" style="width: 100%; overflow: no;">
							<table class="table" cellpadding="0" cellspacing="0">
								<thead>
									<tr>
										<th><b>用户类型</b></th>
										<th><b>操作</b></th>
									</tr>
								</thead>
								<tbody id="listData">
									<c:forEach var="item" items="${userTypeMap }">
										<tr>
											<td>${item.value }</td>
											<td class="tc"><a href="#" onclick="dispatch('${item.key }')">权限分配</a></td>
										</tr>
									</c:forEach>
								</tbody>
							</table>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>

